package student;

public class StudentMelancolic implements Observer {

	protected String name;

	public StudentMelancolic(String name) {

		this.name = name;

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void update() {

	}

	public void displayName() {
		System.out.println(getName()+" -melancholic student");

	}

	public String toString() {
		return getName();
	}

}
